package com.nanhai.buddhist.college.module.collegebase.dal.dataobject.accommodationroom;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import java.util.*;
import com.baomidou.mybatisplus.annotation.*;
import com.nanhai.buddhist.college.framework.mybatis.core.dataobject.BaseDO;

/**
 * 房间 DO
 *
 * @author AKai
 */
@TableName("t_accommodation_room")
@KeySequence("t_accommodation_room_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库，可不写。
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AccommodationRoomDO extends BaseDO {

    /**
     * 主键id
     */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    /**
     * 编号
     */
    private String serialNumber;
    /**
     * 房屋昵称
     */
    private String roomName;
    /**
     * 学院id
     */
    private String collegeId;
    /**
     * 系部id
     */
    private String departmentId;
    /**
     * 楼层id
     */
    private String floorId;
    /**
     * 面积,两位小数
     */
    private String roomArea;
    /**
     * 房间状态
     *
     * 枚举 {@link TODO accommodation_room_status 对应的类}
     */
    private Integer roomStatus;
    /**
     * 房间类型
     *
     * 枚举 {@link TODO accommodation_room_type 对应的类}
     */
    private Integer roomType;
    /**
     * 机构编号
     */
    private Integer orgId;
    /**
     * 备注
     */
    private String remark;


    //------------------------------------------分割线
    /**
     * 学院昵称
     */
    @TableField(exist = false)
    private String collegeName;

    /**
     *系部昵称
     */

    @TableField(exist = false)
    private String departmentName;

    /**
     *楼层昵称
     */
    @TableField(exist = false)
    private String floorName;

    /**
     * 楼栋id
     */
    @TableField(exist = false)
    private String buildingId;


    /**
     * 楼栋昵称
     */
    @TableField(exist = false)
    private String buildingName;




}
